@import "../../variable.less";
.@{prefix} {
  &-select-member {
    width: 100%;
    height: 100%;
    padding: 4px;
    display: flex;
    flex-flow: column;
    &-content {
      width: 100%;
      height: 100%;
      display: flex;
      flex: 1;
      overflow: hidden;
      .@{prefix}-select-member-item {
        flex: 1;
        overflow: hidden;
        margin-right: 16px;
        &:last-child {
          margin-right: 0;
        }
        &.@{prefix}-select-member-item-width {
          flex: none;
        }
      }
    }
    &-inner {
      height: 100%;
      width: 100%;
      display: flex;
      flex-flow: column;
      overflow: hidden;
    }
    &-header {
      height: 32px;
      line-height: 32px;
      background-color: #d8d8d8;
      margin-bottom: 12px;
      padding: 0 12px;
      border-radius: var(--border-radius-base);
    }
    &-body {
      flex: 1;
      overflow: hidden;
    }
    &-bottom {
      display: flex;
      justify-content: flex-end;
      margin-top: 16px;
      &-btn {
        margin-right: 16px;
        &:last-child {
          margin-right: 0;
        }
      }
    }
    .@{prefix}-panel-content {
      padding: 0;
      .@{prefix}-tree-search-input {
        margin-bottom: 12px;
      }
    }
    &-list {
      height: 100%;
      display: flex;
      flex-flow: column;
      &-search {
        margin-bottom: 12px;
      }
      &-content {
        flex: 1;
        overflow: auto;
      }
      &-item {
        height: 32px;
        line-height: 32px;
        padding: 0 10px;
        background-color: #d8d8d8;
        margin-bottom: 12px;
        color: #000;
        cursor: pointer;
        &:last-child {
          margin-bottom: 0;
        }
        &:hover {
          opacity: 0.9;
        }
        &.selected {
          background-color: #1890ff;
          color: #fff;
        }
      }
    }
    &-item {
      display: flex;
      flex-flow: column;
      height: 100%;
      overflow: auto;
      &-list {
        display: flex;
        height: 32px;
        line-height: 32px;
        background-color: #d8d8d8;
        align-items: center;
        padding: 0 12px;
        margin-bottom: 12px;
        word-break: break-all;
        &:last-child {
          margin-bottom: 0;
        }
      }
      &-name {
        flex: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        color: #000;
      }
      &-delete-icon {
        font-size: 14px;
        cursor: pointer;
        &:hover {
          opacity: 0.9;
        }
      }
    }
  }
}